FaceAlignment

sealed class FaceAlignment<U : InferenceModel> : OnnxModelType<U>

Face alignment models

Types

Fan2d106
Link copied to clipboard
object Fan2d106 : ONNXModels.FaceAlignment<Fan2D106FaceAlignmentModel>

This model is a neural network for face alignment that take RGB images of faces as input and produces coordinates of 106 faces landmarks.

Functions

model
Link copied to clipboard
open fun model(modelHub: ModelHub): OnnxInferenceModel
pretrainedModel
Link copied to clipboard
abstract fun pretrainedModel(modelHub: ModelHub): U

Properties

inputShape
Link copied to clipboard
open val inputShape: LongArray?

Shape of the input accepted by this model, without batch size.

modelRelativePath
Link copied to clipboard
abstract val modelRelativePath: String
preprocessor
Link copied to clipboard
open val preprocessor: Operation<Pair<FloatArray, TensorShape>, Pair<FloatArray, TensorShape>>

Inheritors

ONNXModels.FaceAlignment
Link copied to clipboard